<ul class="nav nav-tabs" role="tablist">
  {% ifequal admin_page "admin_city" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/city">城市管理</a>
  </li>

  {% ifequal admin_page "admin_venue" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/venue">教学点管理</a>
  </li>

  <!--
  {% ifequal admin_page "admin_power" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/power">电源管理</a>
  </li>

  {% ifequal admin_page "admin_network" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/network">网络管理</a>
  </li>
  
  {% ifequal admin_page "admin_server" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/server">服务器管理</a>
  </li>

  {% ifequal admin_page "admin_mdm" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/mdm">移动设备管理</a>
  </li>
  -->

  {% ifequal admin_page "admin_acard" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/acard">电子考勤管理</a>
  </li>

  {% ifequal admin_page "admin_alert" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/alert">告警管理</a>
  </li>

  {% ifequal admin_page "admin_user" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/user">用户管理</a>
  </li>

  {% ifequal admin_page "admin_dev" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/dev">开发管理</a>
  </li>

  {% ifequal admin_page "admin_autocmd" %}
  <li role="presentation" class="active">
  {% else %}
  <li role="presentation">
  {% endifequal %}
    <a href="/tdm/admin/autocmd">自动命令</a>
  </li>

</ul>